linear search algorithm c#

95

linear search c# -

Int index = Array.IndexOf(amountOfArrays,guess);
If (index == -1)
{
    // not found
}
else 
{
    // found
}

Comments

Submit
0 Comments